<?php

class SubmitSelectFormScript extends ScriptBlock
{

	function __construct ()
	{
	$html =  "<script language = \"javascript\">\n";
	$html .= "function submitSelectForm()\n";
	$html .= "{\n";
//	$html .= "alert ('Hello');\n";
	$html .= "document.getElementById(\"SubAction\").value = \"SubmitSelect\";\n";
	$html .= "document.getElementById(\"PageForm\").submit();\n";
	$html .= "}\n";

	$html .= "</script>\n";
	$this->scriptHTML = $html;
	}
}

?>